const nft_offer_type = {
    GOODS: 0,
    BLIND: 1,
    ACTIVITY: 2,
    ACTIVATION: 3,
    SYNTHESIS: 4,
    AIRDROP: 5,
}

const activity_type = {
    NFT: 0,
    BLIND: 1,
}

const enum_activity_status = {
    ON: 0,
    OFF: 1,
}

const enum_activation_status = {
    ON: 0,
    OFF: 1,
}

const maker_order_status = {
    NEW: 0,
    VERIFIED: 1,
    FILLED: 2,
    CANCELLED: 3,
    PAYING: 4,
    REJECT: 5,
}

const taker_order_status = {
    NEW: 0,
    FILLED: 1,
    CANCELLED: 2,
}

const nft_log_status = {
    MINT: 0,
    SALE: 1,
    ACTIVITY: 2,
    CANCEL_LIST: 3,
    MODIFY_PRICE: 4,
    DONATION: 5,
    WITHDRAW: 6,
    BURN: 7,
    SYNTHESIS: 8,
    LIST: 9,
    MATCH_LIST: 10,
}

const nft_status = {
    NEW: 0,
    SOLD: 1,
    RESALE: 2,
}

const user_sale_status = {
    NO: 0,
    YES: 1,
}

const enum_goods_status = {
    NEW: 0,
    PUBLISHED: 1, // 已上架
    INITIAL: 9, // 已初始化，未上架
}

const enum_blind_status = {
    NEW: 0,
    PUBLISHED: 1,
    INITIAL: 9, // 已初始化，未上架
}

const enum_user_message_status = {
    UNREAD: 0,
    READ: 1,
}

const enum_sys_param = {
    QRCODE_KEY: 'QRCODE_KEY',
    PAY_FLAG: 'PAY_FLAG',
    APPID: 'APPID',
    APPSECRET: 'APPSECRET',
    WX_GZH_APPID: 'WX_GZH_APPID',
    WX_GZH_APPSECRET: 'WX_GZH_APPSECRET',
    WX_GZH_TOKEN: 'WX_GZH_TOKEN',
    WX_GZH_APPID: 'WX_GZH_APPID',
    BUSI_CONTACT: 'BUSI_CONTACT',
    MEDIA_CONTACT: 'MEDIA_CONTACT',
    SALE_FEE: 'SALE_FEE',
    PRICE_UP_LIMIT: 'PRICE_UP_LIMIT',
    PRICE_DOWN_LIMIT: 'PRICE_DOWN_LIMIT',
}

const enum_shop_status = {
    ON: 0,
    OFF: 1,
}

module.exports = {
    enum_shop_status,
    enum_user_message_status,
    nft_offer_type,
    activity_type,
    maker_order_status,
    taker_order_status,
    nft_log_status,
    nft_status,
    user_sale_status,
    enum_goods_status,
    enum_blind_status,
    enum_activity_status,
    enum_activation_status,
    enum_sys_param,
}